package com.bolt.report.exception;

import com.bolt.common.utils.StrUtil;

public class ReportException extends RuntimeException {

    public ReportException(String msg) {
        super(msg);
    }

    public ReportException(Exception ex) {
        super(ex);
    }

    public ReportException(String messageKey, Object... args) {
        super(StrUtil.format(messageKey,args));
    }

    public ReportException(String messageKey, Object[] args, Throwable t) {
        super(StrUtil.format(messageKey,args), t);
    }
}